package com.lagou.exception;

import org.springframework.web.bind.annotation.ExceptionHandler;

import javax.servlet.http.HttpServletRequest;

/**
 * @Authther: mrwu
 * @date:2021/3/23-03
 * @Description:com.lagou.exception
 */
public class Globaleexception {
    @ExceptionHandler
   public String exceptionhandler(HttpServletRequest request, Exception e){
        //收集所有异常可以在这里集中处理
       return "";
   }
}
